import BaseEntity from './BaseEntity'

class ProductTransactionPK extends BaseEntity {
  constructor ({
    id = '',
    user = {id: '', name: ''},
    product = {id: '', name: ''},
    transType = '',
    transDate = ''
  }) {
    super({id})

    this.user = user
    this.product = product
    this.transType = transType
    this.transDate = transDate
  }
}

export default ProductTransactionPK
